package com.daiqee.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.daiqee.dao.mapper.ChartMapper;
import com.daiqee.pojo.Chart;

/**
 * 报表
 * 
 * <br/>
 * @since JDK 1.8
 * @version  V2.1
 * @author RichardTang 
 * @date: 2018年5月8日 上午8:21:55
 * @package com.daiqee.service.impl
 * @copyright:Copyright (c) 2018, 1245811923@qq.com All Rights Reserved.
 */
@Service
public class ChartService{

	@Autowired
	protected ChartMapper chartMapper;

	public List<Chart> queryProductClass() {
		return chartMapper.queryProductClass();
	}

	public List<Chart> querySupplierClass() {
		return chartMapper.querySupplierClass();
	}
	
	public List<Chart> queryProductionOrderCount(){
		return chartMapper.queryProductionOrderCount();
	}

	public List<Chart> querySaleOrderCount() {
		return chartMapper.querySaleOrderCount();
	}

	public List<Chart> queryEveryMonthOfNewEmployee() {
		return chartMapper.queryEveryMonthOfNewEmployee();
	}

	public List<Chart> queryEveryMontOfQuitEmployee() {
		return chartMapper.queryEveryMonthOfQuitEmployee();
	}
	
	
}
